package observerPattern;

public class ObserverUser implements Observer {

    private String name;

    public ObserverUser(String name) {
        this.name = name;
    }

    @Override
    public void update(String message) {
        System.out.println("User : " + this.name + " , deal message : " + message);
    }
}
